<?php
header('Content-Type: text/html; charset=gbk');

session_start();
 $conn = new mysqli('10.18.57.16', 'H_Z09421235', '20030501','h_z09421235');
//$conn = new mysqli('localhost', 'root', '123456', 'h_z09421235');
mysqli_query($conn, "set names 'gbk'");
$review_id = $_GET["review_id"];
$sql = "delete from review where review_id=$review_id";
$result_set = $conn->query($sql);
mysqli_close($conn);

header("Location: review_list.php");
exit;
?>
